namespace CircleCut.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class _new : DbMigration
    {
        public override void Up()
        {
            CreateTable(
                "dbo.Circles",
                c => new
                    {
                        ID = c.Int(nullable: false, identity: true),
                        Number = c.String(),
                        Diameter = c.String(),
                        Demand = c.String(),
                    })
                .PrimaryKey(t => t.ID);
            
            CreateTable(
                "dbo.Inputs",
                c => new
                    {
                        ID = c.Int(nullable: false, identity: true),
                        Length = c.String(),
                        Width = c.String(),
                        DiaTotalNum = c.String(),
                        Number = c.String(),
                    })
                .PrimaryKey(t => t.ID);
            
            CreateTable(
                "dbo.Outputs",
                c => new
                    {
                        ID = c.Int(nullable: false, identity: true),
                        Number = c.String(),
                        PatternNum = c.String(),
                        TotalPlateNum = c.String(),
                        delta = c.String(),
                        beta = c.String(),
                        e = c.String(),
                        p = c.String(),
                        UtilizationRate = c.String(),
                        Time = c.String(),
                    })
                .PrimaryKey(t => t.ID);
            
        }
        
        public override void Down()
        {
            DropTable("dbo.Outputs");
            DropTable("dbo.Inputs");
            DropTable("dbo.Circles");
        }
    }
}
